package com.darwin.darwinNet
{
	public interface INetStruct
	{
		/**
		 * 获得协议对应的数据结构体 
		 * @param cmd
		 * @return 
		 * 
		 */		
		function getNetStruct(cmd:String,param:String):Array; 
		/**
		 * 注册命令对应的结构体
		 * @param cmd
		 * @param struct
		 * 
		 */		
		function registerNetStruct(cmd:String,param:String,struct:Array):void;
	}
}